package cn.oms.pms.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("patient_emergency_contact")
@ApiModel(value="PatientEmergencyContact对象", description="")
public class PatientEmergencyContact implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)（UUID）")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "患者信息ID（对应患者信息表）（ALL4452）")
    @TableField("PATIENT_ID")
    private String patientId;

    @ApiModelProperty(value = "紧急联系人电话")
    @TableField("EMERGENCY_CONTACT_PHONE_NUM")
    private String emergencyContactPhoneNum;

    @ApiModelProperty(value = "紧急联系人姓名")
    @TableField("EMERGENCY_CONTACT_NAME")
    private String emergencyContactName;

    @ApiModelProperty(value = "紧急联系人关系")
    @TableField("EMERGENCY_CONTACT_RELATIONSHIP")
    private String emergencyContactRelationship;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
